﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Core;
using System.Collections;

namespace Yuanlin.Business
{
    public class CompanyTypeRequest : TEntityRequest<CompanyType>
    {
        public CompanyTypeRequest()
        {
            int? entityId = GetParameterValue<int?>(YuanlinParameterName.CompanyTypeId);
            if (entityId.HasValue)
            {
                EntityId = entityId.Value;
            }
        }
    }
    public class CompanyTypeListRequest : TEntityListRequest<CompanyType>
    {
        private string companyTypeIds = GetParameterValue<string>(YuanlinParameterName.CompanyTypeIds);

        public string Title
        {
            get
            {
                return companyTypeIds;
            }
            set
            {
                companyTypeIds = value;
            }
        }
    }
    public class CompanyTypeReply : EntityReply
    {
    }
}